package cn.tedu.sp09.feign;

import cn.tedu.sp01.pojo.User;
import cn.tedu.web.util.JsonResult;
import org.springframework.stereotype.Component;

/**
 * @Author wy
 * @Date 2021/2/26 9:27
 * @Version 1.0
 */
@Component
public class UserClientSB implements UserClient{

    @Override
    public JsonResult<User> getUser(Integer userId) {
        return JsonResult.err().msg("调用getUser失败");
    }

    @Override
    public JsonResult<?> addScore(Integer userId, Integer score) {
        return JsonResult.err().msg("调用addScore失败");
    }
}
